package com.dlc.shop.bean.model;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * 订单虚拟商品核销记录
 *
 * @author LGH
 * @date 2023-03-07 16:48:15
 */
@Data
@TableName("tz_order_virtual_verify_log")
@Schema(description = "订单虚拟商品核销记录")
public class OrderVirtualVerifyLog implements Serializable{
    private static final long serialVersionUID = 1L;

    @TableId
    private Long id;
    @Schema(description = "订单编号")
    private String orderNumber;
    @Schema(description = "店铺id")
    private Long shopId;
    @Schema(description = "核销门店id")
    private Long stationId;

    @Schema(description = "核销门店名称")
    @TableField(exist = false)
    private String stationName;

    @Schema(description = "是否核销 1.已核销 0.未核销")
    @TableField(exist = false)
    private Integer isWriteOff;;

    @Schema(description = "核销时间是否过期 1是 0 否")
    private Integer isExpired;

    @Schema(description = "核销码")
    private String writeOffCode;
    @Schema(description = "创建时间")
    private Date createTime;
}
